<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
{literal}
<style type="text/css">
<!--
body {
	margin-left: 3px;
	margin-top: 0px;
	margin-right: 3px;
	margin-bottom: 0px;
}
.STYLE1 {
	color: #e1e2e3;
	font-size: 12px;
}
.STYLE1 a{
color: white;
}
.STYLE6 {color: #000000; font-size: 12; }
.STYLE10 {color: #000000; font-size: 12px; }
.STYLE19 {
	color: #344b50;
	font-size: 12px;
}
.STYLE21 {
	font-size: 12px;
	color: #3b6375;
}
.STYLE22 {
	font-size: 12px;
	color: #295568;
}
-->
</style>
{/literal}
</head>

<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="24" bgcolor="#353c44"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="6%" height="19" valign="bottom"><div align="center"><img src="{$ui_site}images/tb.gif" width="14" height="14" /></div></td>
                <td width="10%" valign="bottom"><span class="STYLE1">途径地列表</span></td>
				<td width="84%" valign="bottom"><span class="STYLE1">路书由途径地组合而成</span></td>
              </tr>
            </table></td>
            <td style="display:none"><div align="right"><span class="STYLE1">
              <input type="checkbox" name="checkbox11" id="checkbox11" />
              全选      &nbsp;&nbsp;<a href="{url('way/add')}"><img src="{$ui_site}images/add.gif" width="10" height="10" /> 添加</a>   &nbsp; <img src="{$ui_site}images/del.gif" width="10" height="10" /> 删除    &nbsp;&nbsp;<img src="{$ui_site}images/edit.gif" width="10" height="10" /> 编辑   &nbsp;</span><span class="STYLE1"> &nbsp;</span></div></td>
			  <td><div align="right"><span class="STYLE1">
            <a href="{url('way/add')}"><img src="{$ui_site}images/add.gif" width="10" height="10" /> 添加</a>  </span><span class="STYLE1"> &nbsp;</span></div></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#a8c7ce">
      <tr>
        
        <td width="5%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">途径地ID</span></div></td>
        <td width="5%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">名称</span></div></td>
        <td width="5%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">纬度</span></div></td>
        <td width="5%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">经度</span></div></td>
        <td width="14%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">简介</span></div></td>
        <td width="5%" height="20" bgcolor="d3eaef" class="STYLE6"><div align="center"><span class="STYLE10">操作</span></div></td>
      </tr>
       {foreach from=$way item=val key=k}
	  <tr>
        
        <td height="20" bgcolor="#FFFFFF" class="STYLE6"><div align="center"><span class="STYLE19">{$val['way_id']}</span></div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">{$val['name']}</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">{$val['latitude']}</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center">{$val['longitude']}</div></td>
        <td height="20" bgcolor="#FFFFFF" class="STYLE19"><div align="center"  style="{$val['introduction']}">{$val['introduction']}</div></td>
        <td height="20" bgcolor="#FFFFFF"><div align="center" class="STYLE21">{assign var=foo value=['way_id'=>$val['way_id']]}<a href={url('pic/way',$foo)} target="_blank">图片</a> |<a href={url('way/del',$foo)}>删除</a> | <a href="{url('way/modify',$foo)}">编辑</a></div></td>
      </tr>
     {/foreach}
    </table></td>
  </tr>
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="33%"><div align="left"><span class="STYLE22">&nbsp;&nbsp;&nbsp;&nbsp;共有<strong> {$count}</strong> 条记录，当前第<strong> {$page+1}</strong> 页，共 <strong>{ceil($count/$perpage)}</strong> 页</span></div></td>
        <td width="67%"><table width="730" border="0" align="right" cellpadding="0" cellspacing="0">
          <tr>
           {$pagecontent}
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
